<include file="./Tpl/Home/Header.html" />
   <link href="/Public/Home/bootstrap.min.css?v=3.4.0" rel="stylesheet">
    <script src="/Public/Home/bootstrap.min.js?v=3.4.0"></script>
<style type="text/css">
.user{width:97%;margin:0px auto; background:#FFF;}
.user-nav{ height:45px;}
.user-nav a{display:inline-block;float:left;padding:7px 20px;margin-left:10px;color: #0B72A4;  color:#FFF; border-radius:3px; margin-top:6px; }
.user-nav a:hover{ text-decoration:none; background:#CBE9F1}
.user-nav a.cur{border-bottom:0px;background:#0096e0;}
.user-nav a.cur_1{ color:#444;}
.user-info{font-size:14px;}
.user-info dl{display:block;width:99%;margin:0px auto;zoom:1;overflow:hidden;}
.user-info dl dt,.user-info dl dd{float:left;padding:15px 10px;}
.user-info dl dt{clear:both;width:10%;}
.user-info dl dd{width:70%;}
.user-info dl dd input[type='radio']{margin-left:20px;}
.user-info input[type='text'],.user-info input[type='password']{width:300px;height:30px;line-height:30px;padding:0px 10px;border:1px solid 
#ccc;}
.user-info table{width:100%;border:0px solid #ccc;border-bottom:0px;}
.user-info th,.user-info td{padding:10px 10px;border-bottom:1px solid #ddd;text-align:right;}
.user-info th{ background:#f1f1f1}
.user-info h3{text-indent:15px;padding:15px 0px;}
.sub{display: inline-block;
font-weight: 700;
font-size: 14px;
color: white;
text-align: center;
width: 170px;
height: 32px;
line-height: 32px;
background: #FF8C19;
margin-top: 10px;}
.sub:hover{color:#fff;text-decoration:none;}
/*分页*/
.page{padding:10px;}
.page a{color:#333;fot-size:14px;}
</style>
<body>
<div class="marketArea clear"> <include file="./Tpl/Home/Left.html" />
  <div class="rightArea">
    <div class="user"> 
	<div class="user-nav">
	<a  href="{$path}/Message/news_list/status/0" <eq name="status" value="2">class="cur"</eq><eq name="status" value="1"> class="cur_1"</eq>>未读</a>
	<a  href="{$path}/Message/news_list/status/1" <eq name="status" value="1">class="cur"</eq><eq name="status" value="2">class="cur_1"</eq>>已读</a>
	
	<div class="clear"></div>
</div>
      <div class="user-info">
        <table cellspacing=0 cellpadding=0 border=0>
          <tr>
            <th width="10%">标题</th>
           
            <th>提交时间</th>
       
            <th>操作</th>
          </tr>
          <volist name="list" id="vo" key="k" empty="$empty">
            <tr>
              <td>{$vo.title}</td>
            
			  <td>{$vo.add_time|date="Y-m-d H:i:s",###}</td>
            
              <td>
			  
			  <a type="button" class="btn btn-primary" data-toggle="modal" onclick='getMsg(this)' data-target="#msg">
                                    查看
                                </a>
								<input type="hidden" class="content"  name="content" value="{$vo['content']}"/>
								<input type="hidden" class="title"  name="title" value="{$vo['title']}"/>
								<input type="hidden" class="id"  name="id" value="{$vo['id']}"/>
                </td>
            </tr>
          </volist>
        </table>
        <div class="page">{$page} </div>
        <div style="clear:both"></div>
      </div>
    </div>
  </div>
</div> 


<include file="./Tpl/Home/Footer.html" />
<div class="modal inmodal fade" id="msg" tabindex="-1" role="dialog"  aria-hidden="true">
                                <div class="modal-dialog modal-lg">
                                    <div class="modal-content">
                                        <div class="modal-header">
                                            <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
                                            <h4 class="modal-title">窗口标题</h4>
                                        </div>
                                        <div class="modal-body">
                                            <p><strong>H+</strong> 是一个完全响应式，基于Bootstrap3.4.0最新版本开发的扁平化主题，她采用了主流的左右两栏式布局，使用了Html5+CSS3等现代技术，她提供了诸多的强大的可以重新组合的UI组件，并集成了最新的jQuery版本(v2.1.1)，当然，也集成了很多功能强大，用途广泛的jQuery插件，她可以用于所有的Web应用程序，如网站管理后台，网站会员中心，CMS，CRM，OA等等，当然，您也可以对她进行深度定制，以做出更强系统。</p>
                                        </div>

                                        <div class="modal-footer">
                                            <button type="button" class="btn btn-white" data-dismiss="modal">关闭</button>
                                           
                                        </div>
                                    </div>
                                </div>
                            </div>

<script>
	function getMsg(_this){
		var td=$(_this).parent();
		var txt=td.find('.content').val();
		var title=td.find(".title").val();
		var id=td.find(".id").val();
	
		$(".modal-body").html(txt);
		$(".modal-title").html(title);
		$.post("?s=Home/Message/look_news",{"id":id},function(data){
			
			
		})
	}
	$(".items14").parent("li").addClass("cur");
	$(".bor").eq(3).children("div").addClass("tradeTitlecur").removeClass("tradeTitle");
	$(".bor").eq(3).find("span").addClass("acountManage1cur").removeClass("acountManage1");
</script>
</body>
